Skip to content

fix(interaction_metadata): document command_type#7383

Open
ImRodry wants to merge 1 commit into
discord:mainfrom
ImRodry:fix/interaction-metadata-name-and-command-type
Open

fix(interaction_metadata): document command_type#7383
ImRodry wants to merge 1 commit into
discord:mainfrom
ImRodry:fix/interaction-metadata-name-and-command-type

Conversation

@ImRodry

@ImRodry ImRodry commented Feb 7, 2025

Copy link
Copy Markdown
Contributor

This PR documents the command_type key that is sent on the interaction_metadata object of a Message. Not sure why this wasn't documented as the PR that added the object (#6723) did not have any discussion on it. I purposely left out the name property as a previous PR adding this was rejected (#6734) but I don't see anything against this property. It would be helpful to document both in order to be able to fully stop using interaction in favor of interaction_metadata

@ImRodry ImRodry requested a review from a team as a code owner February 7, 2025 19:27
@ImRodry ImRodry requested review from JustinBeckwith and removed request for a team February 7, 2025 19:27
@ImRodry ImRodry closed this Feb 7, 2025
@ImRodry ImRodry changed the title fix(interaction_metadata): document name and command_type fix(interaction_metadata): document command_type Feb 7, 2025
@ImRodry

ImRodry commented Feb 7, 2025

Copy link
Copy Markdown
Contributor Author

Removed name, reopening to get feedback on command_type

@ImRodry ImRodry reopened this Feb 7, 2025
@ImRodry ImRodry force-pushed the fix/interaction-metadata-name-and-command-type branch from 8f66dcb to ffe9bc0 Compare July 2, 2025 15:20
@Soheab

Soheab commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

Bump. Would be nice if name was documented too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants